// import com.alibaba.druid.sql.ast.SQLExpr;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;
#include "MySqlShowCreateDatabaseStatement.h"
#include "../../../../ast/SQLExpr.h"
#include "../../visitor/MySqlASTVisitor.h"

void MySqlShowCreateDatabaseStatement::accept0(MySqlASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(MySqlShowCreateDatabaseStatement)))
  {
    acceptChild(visitor, database);
  }
  visitor->endVisit(SharedObject(MySqlShowCreateDatabaseStatement));
}

SQLExpr_ptr MySqlShowCreateDatabaseStatement::getDatabase()
{
  return database;
}

void MySqlShowCreateDatabaseStatement::setDatabase(SQLExpr_ptr database)
{
  this->database = database;
}

BOOL_ptr MySqlShowCreateDatabaseStatement::isIfNotExists()
{
  return ifNotExists;
}

void MySqlShowCreateDatabaseStatement::setIfNotExists(BOOL_ptr ifNotExists)
{
  this->ifNotExists = ifNotExists;
}
